//
//  RLPullDownMenu.h
//  RLPullDownMenu
//
//  Created by rylynn on 14-8-21.
//  Copyright (c) 2014年 rylynn All rights reserved.
//

#import <UIKit/UIKit.h>

@class RLPullDownMenu;

@protocol RLPullDownMenuDelegate <NSObject>

- (void)pullDownMenu:(RLPullDownMenu *)pullDownMenu didSelectRow:(NSInteger)row;

@end

@interface RLPullDownMenu : UIView<UITableViewDelegate, UITableViewDataSource>

@property (nonatomic) id<RLPullDownMenuDelegate> delegate;
@property (nonatomic, strong) NSArray *itemsArray;
@property (nonatomic, assign) BOOL indicatorHiden;
@property (nonatomic, assign) BOOL selectItemEnable;
@property (nonatomic, assign) NSInteger selectedIndex;
@end


// CALayerCategory
@interface CALayer (MXAddAnimationAndValue)

- (void)addAnimation:(CAAnimation *)anim andValue:(NSValue *)value forKeyPath:(NSString *)keyPath;

@end
